// 导入组件
import GoodBoy from './good-boy'
import BadBoy from './bad-boy'
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImage from './UploadImage'
import FullScreen from './Fullscreen'
import Language from './language'
// 返回一个注册方法
export default {
  // 安装方法，Vue.use(插件)，会调用插件的install方法
  install(Vue) {
    // 安装方法内部，注册插件提供的任何功能
    Vue.component('good-boy', GoodBoy)
    Vue.component('bad-boy', BadBoy)
    Vue.component('page-tools', PageTools)
    Vue.component('upload-excel', UploadExcel)
    Vue.component('upload-image', UploadImage)
    Vue.component('full-screen', FullScreen)
    Vue.component('Language', Language)
  }
}
